package com.example.demo.child;

import com.example.demo.parent.Animals;

/**
 * @Classname Dog
 * @Description TODO
 * @Date 2019/11/27 11:32
 * @Created by yby
 */
public class Dog extends Animals {

    public void eat() {
        System.out.println("动物会吃东西呀...");
        System.out.println(this);
    }

}
